Testing creating a note from emacs, will this work?

I spent sometime ditching Obsidian, and eventually started writing my own stuff: Testing a new note from my editor

But I think it's better if i just stick with simple stuff. The main challenge is that I need to write a lot of emacs lisp.

I wrote a garden.el mode and I'm using git-auto-commit-mode.

This is the git-auto-commit-mode config:

(use-package git-auto-commit-mode)

;; Enable git-auto-commit-mode for all notes in your garden directory
(defun my/garden-enable-gac ()
  (setq gac-automatically-push-p t)
  (setq gac-automatically-add-new-files-p t)
  (setq gac-ask-for-summary-p nil)
  "Enable git-auto-commit-mode for garden notes."
  (when (and buffer-file-name
             (string-prefix-p (expand-file-name "~/path/to/garden/")
                              (file-name-directory buffer-file-name)))
    (git-auto-commit-mode 1)))

(add-hook 'find-file-hook #'my/garden-enable-gac)

Git with specific ssh key

I had to add this to my emacs config:

(setenv "GIT_SSH_COMMAND" "ssh -i ~/.ssh/id_rsa_my_specific_key -o StrictHostKeyChecking=no")

TODO

  • list all notes akin howm
  • list all note by tags akin howm

Done